.windowChat {
  .el-dialog__header {
    img{
      height: 100%;
    }
    span{
      line-height: 38px;
      vertical-align: text-bottom;
    }
  }
  .el-dialog__body{
    padding: 0;
  }
}
.flex {
    display: block;
  }
  .box{
    
  }
  .chatbox{
    border-top: 1px solid #cccccc;
    position: relative;
    .chat-btn{
      position: absolute;
      right: 15px;
      bottom: 20px;
      color: #E0E9E8;
      cursor: pointer;
      background: #2878FF;
      border: 0;
      padding: 2px 7px;
    }
    .chat-btn-none{
      cursor: no-drop;
      background: #E0E9E8;
      color: #999999;
    }
  }
  .box .lishi {
    margin-bottom: 10px;
    height: 310px;
    overflow-y: scroll;
    padding: 0 18px;
    .kefu-left{
      text-align: left;
      margin-top: 20px;
      .kefuName {
        color: #8A9699;
        font-size: 12px;
      }
      img {
        max-width: 300px;
      }
     > p {
        background: #E9F0EF;
        display: inline-block;
        padding: 3px 15px;
        color: #000000;
        position: relative;
        font-size: 12px;
        max-width: 70%;
      }
      > p::before{
        content:'';
        display: block;
        width: 0;
        height: 0;
        border-top: 10px solid #E9F0EF;
        border-left: 10px solid transparent;
        position: absolute;
        top: 50%;
        margin-top:-5px;
        left: -10px;
      }
    }
    .kehu-right{
      text-align: right;
      margin-top:20px;
      img {
        max-width: 300px;
      }
      > p {
        background: #2878FF;
        display: inline-block;
        padding: 3px 15px;
        color: #ffffff;
        position: relative;
        font-size: 12px;
        text-align: left;
        max-width: 70%;
      }
      > p::before{
        content:'';
        display: block;
        width: 0;
        height: 0;
        border-top: 10px solid #2878FF;
        border-right: 10px solid transparent;
        position: absolute;
        top: 50%;
        margin-top:-5px;
        right: -10px;
      }
    }
  }
  .upFile{
    position: relative;
    margin: 6px 8px 0px;
    .fileImg{
      width: 23px;
    }
  }
  .upFile .file {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    z-index: 1000;
    width: 30px;
    cursor: pointer;
  }
 .chatbox {
    
    #father{
      width: 100%;
    }
    #wangeditor {
      .w-e-toolbar {
        border:0!important;
      }
      .w-e-text-container {
        height: 80px!important;
        border:0!important;
        .w-e-text{
          /* 滚动条样式*/
        }
      }
    }
 }
 .chat-left {
     .textarea{
         border: 0;
         outline: none;
         resize: none;
         padding: 0 10px;
     }
 }


